# coding=utf-8
"""
Author: Mr.夏末
@Function: 一一对应
"""
a,b,c,d = (1,2,3,4)
print(a,b,c,d)

a,b,c,d = [1,2,3,4]
print(a,b,c,d)

a,b,c,d = {'a': 8985998, 'b': 'ge', 'c': 'yuyuyug', 'd': '老Roy'}.items()
print(a,b,c,d)

# clear：清空列表或字典
mylist = [9, 8, 7, 6, 5, 4, 1, 2, 3, 4]
dict001 = {'a': 8985998, 'b': 'ge', 'c': 'yuyuyug', 'd': '老Roy', 'e': 'kaka', 'f': 'youmi'}
# mylist.clear()
# dict001.clear()
print(mylist)
print(dict001)

index = 0
while index<len(mylist):
    print(mylist[index])
    index += 1

print("----------------------------")
mmm = (1, 2, 3, 4, 5, 6, 4, 5, 6)

index = 0
while index<len(mmm):
    print(mmm[index])
    index += 1